chrome.browserAction.setBadgeText({ text: 'JD' });
chrome.storage.local.set({ myRunning: 0 });

chrome.contextMenus.create({
	title: "停止采购",
	onclick: function () {
		chrome.storage.local.set({ myRunning: 0 });
		chrome.notifications.create(null, {
			type: 'basic',
			iconUrl: 'img/logo.png',
			title: '操作通知',
			message: '(b)开始执行：停止下单' + '\n' + (new Date).toLocaleString()
		});
	}
});
